﻿using EMS.system.Entityies.MasterData.WorkstationModel;
using EMS.system.Entityies.ProductionManagement.ProductionWorkOrderModel;
using EMS.system.Entityies.WarehouseManagement.ProductionRequisitionModel;
using EMS.system.Entityies.WarehouseManagement.SalesReturnModel;
using EMS.system.IEntityAppService.WarehouseManagement.MaterialRequisition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;

namespace EMS.system.IEntityAppService.WarehouseManagement.SalesReturns
{
    public interface ISalesReturnsAppService
    {
        Task<int> AddSalesReturns(SalesReturnsAppServiceDTO dto);

        PagedResult GetSalesReturns(string? code, string? name, int page = 1, int limit = 2);

        Task<int> DeleteSalesReturns(int id);

        Task<SalesReturn> GetSalesReturnsById(int id);
        Task<int> UpdateSalesReturns(SalesReturnsAppServiceDTO dto);
        //List<ProductionWorkOrder> GetSalesReturns();
        //List<Workstation> GetSalesReturns();
    }
}
